import mcpi.minecraft as minecraft
import mcpi.block as block
mc = minecraft.Minecraft.create()
#pos = mc.entity.getTilePos(1927)
#print (pos.x,pos.y,pos.z)
mc.postToChat("welcome to Lucie's world!")
x, y, z = mc.player.getTilePos()

print(x, y, z)

#mc.setBlocks(x - 10, y, z - 10, x + 10, y + 10, z + 10, block.AIR.id)
#Build 
mc.setBlocks(x - 7, y-1, z - 7, x + 7, y-1, z + 7, block.DIAMOND_BLOCK)
#mc.setBlocks(x - 6, y, z - 6, x + 6, y + 6, z + 6, block.DIAMOND_BLOCK)
#mc.setBlocks(x - 5, y, z - 5, x + 5, y + 5, z + 5, block.AIR)
#mc.setBlocks(x, y + 6, z, x, y + 6, z, block.TORCH)
